package ebcs.database.bean;

import org.apache.commons.lang3.StringUtils;

/**
 * 项目成本核算表
 * @author yf
 *
 */
public class ProjectCostInfo {

	private String id;
	
	private String employeeId ;
	
	private String name;
	
	private String month;
	
	private String cost;
	
	private String startRow;
	   
    private String endRow;
	  	 
    private String pageSize;
    
    private String endDate;
	
    private String startDate;

    private String proTeamNo;

    private String proTeamName;

    private String proGroupNo;
    
    private String proGroupName;
    
    private String salary;
    
  //开始报功时间
  	private String bgnWorkDate;
  	//截至报功时间
  	private String endWorkDate;
    
	public ProjectCostInfo() {
		super();
		// TODO Auto-generated constructor stub
	}



	public ProjectCostInfo(String id, String employeeId, String name, String month, String cost, String salary, String proTeamName,
			String proGroupName) {
		super();
		this.id = id;
		this.employeeId = employeeId;
		this.name = name;
		this.month = month;
		this.cost = cost;
		this.salary = salary;
		this.proTeamName = proTeamName;
		this.proGroupName = proGroupName;
	}



	public ProjectCostInfo(String id, String employeeId, String name, String month, String cost, String salary, String startRow,
			String endRow, String pageSize, String endDate, String startDate, String proTeamNo, String proTeamName,
			String proGroupNo, String proGroupName) {
		super();
		this.id = id;
		this.employeeId = employeeId;
		this.name = name;
		this.month = month;
		this.cost = cost;
		this.salary = salary;
		this.startRow = startRow;
		this.endRow = endRow;
		this.pageSize = pageSize;
		this.endDate = endDate;
		this.startDate = startDate;
		this.proTeamNo = proTeamNo;
		this.proTeamName = proTeamName;
		this.proGroupNo = proGroupNo;
		this.proGroupName = proGroupName;
	}



	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMonth() {
		return month;
	}

	public void setMonth(String month) {
		this.month = month;
	}

	public String getCost() {
		return cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	public String getStartRow() {
		return startRow;
	}

	public void setStartRow(String startRow) {
		this.startRow = startRow;
	}

	public String getEndRow() {
		return endRow;
	}

	public void setEndRow(String endRow) {
		this.endRow = endRow;
	}

	public String getPageSize() {
		return pageSize;
	}

	public void setPageSize(String pageSize) {
		this.pageSize = pageSize;
	}
	
	
	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	
	

	public String getProTeamNo() {
		return proTeamNo;
	}


	public void setProTeamNo(String proTeamNo) {
		this.proTeamNo = proTeamNo;
	}


	public String getProTeamName() {
		return proTeamName;
	}


	public void setProTeamName(String proTeamName) {
		this.proTeamName = proTeamName;
	}


	public String getProGroupNo() {
		return proGroupNo;
	}


	public void setProGroupNo(String proGroupNo) {
		this.proGroupNo = proGroupNo;
	}


	public String getProGroupName() {
		return proGroupName;
	}


	public void setProGroupName(String proGroupName) {
		this.proGroupName = proGroupName;
	}


	//重写equals方法
	@Override
	public boolean equals(Object o) {
	 
	   if (this == o) return true;
	    
	   if (o == null || getClass() != o.getClass()) return false;
	 
	   ProjectCostInfo that = (ProjectCostInfo) o;
	 
	   if (StringUtils.isNotEmpty(employeeId) && employeeId.equals(that.employeeId)) {
	      return true;
	   }
	 
	   return false;
	    
	}
	 
	@Override
	public int hashCode() {
	   return 1;
	}



	public String getSalary() {
		return salary;
	}



	public void setSalary(String salary) {
		this.salary = salary;
	}



	public String getBgnWorkDate() {
		return bgnWorkDate;
	}



	public void setBgnWorkDate(String bgnWorkDate) {
		this.bgnWorkDate = bgnWorkDate;
	}



	public String getEndWorkDate() {
		return endWorkDate;
	}



	public void setEndWorkDate(String endWorkDate) {
		this.endWorkDate = endWorkDate;
	}

	
}
